package com.hghivln.erpwarehouse.system.common.lang;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 *  json数据实体
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DataGridlView implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer code = 0;
    private String msg = "";
    private Long count = 0L;
    private Object data;

    public DataGridlView(Long count, Object data) {
        this.count = count;
        this.data = data;
    }

    public DataGridlView(Object data) {
        this.data = data;
    }
}
